Skip to content

test(creators): add integration test for creator list filtered total …#410

Merged
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
shogun444:issue-399-creator-list-filter-total-count
Jun 1, 2026
Merged

test(creators): add integration test for creator list filtered total …#410
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
shogun444:issue-399-creator-list-filter-total-count

Conversation

@shogun444
Copy link
Copy Markdown
Contributor

Summary

Closes #399

Adds an integration test to verify that the creator list pagination metadata returns the correct total count when a category filter is applied.

Changes

  • Added a new integration test covering creator list filtering by category.
  • Added a fixture with a known split between matching and non-matching creators.
  • Verified that the pagination total reflects only the filtered result set.
  • Verified that the filtered total differs from the unfiltered total.
  • Ensured the test fails if the API returns the unfiltered count instead of the filtered count.

Validation

pnpm exec jest --runInBand src/modules/creators/creator-list-filter-total-count.integration.test.ts

Result: PASS

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 1, 2026

@shogun444 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093 Chucks1093 merged commit 4fa533a into accesslayerorg:main Jun 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add integration test for creator list total count accuracy after filter

2 participants